package com.wgt.observer.java_impl;

import java.util.Observer;

/**
 * Created by wgt on 2017/6/18.
 */
public class TESTDemo1 {


    public static void main(String[] args) {
        ConCreatWeatherSubject subject = new ConCreatWeatherSubject("流星",1000,null);

        Observer hjh = new HJHOserver("");
        Observer wgt = new WGTObserver();

        subject.addObserver(hjh);
        subject.addObserver(wgt);

        subject.isChange(null);
    }
}
